def f(n):
    if n==2:
        return n
    return f(n-1)*n


print(f(10))

